package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 到款信息对象 constract_record
 * 
 * @author ruoyi
 * @date 2022-04-04
 */
public class ConstractRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 到款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "到款时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date toTime;

    /** 登记时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "登记时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date signTime;

    /** 跟进人 */
    @Excel(name = "跟进人")
    private String followUp;

    /** 到款金额 */
    @Excel(name = "到款金额")
    private Double money;

    /** 计算方法 */
    @Excel(name = "计算方法")
    private String culType;

    /** 合同主键 */
    @Excel(name = "合同主键")
    private Long constractId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setToTime(Date toTime) 
    {
        this.toTime = toTime;
    }

    public Date getToTime() 
    {
        return toTime;
    }
    public void setSignTime(Date signTime) 
    {
        this.signTime = signTime;
    }

    public Date getSignTime() 
    {
        return signTime;
    }
    public void setFollowUp(String followUp) 
    {
        this.followUp = followUp;
    }

    public String getFollowUp() 
    {
        return followUp;
    }
    public void setMoney(Double money)
    {
        this.money = money;
    }

    public Double getMoney()
    {
        return money;
    }
    public void setCulType(String culType) 
    {
        this.culType = culType;
    }

    public String getCulType() 
    {
        return culType;
    }
    public void setConstractId(Long constractId) 
    {
        this.constractId = constractId;
    }

    public Long getConstractId() 
    {
        return constractId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("toTime", getToTime())
            .append("signTime", getSignTime())
            .append("followUp", getFollowUp())
            .append("money", getMoney())
            .append("remark", getRemark())
            .append("culType", getCulType())
            .append("constractId", getConstractId())
            .toString();
    }
}
